import request from "@/utils/request";

// 查询年度申报
export function listSupplementaryDeclaration(query) {
  return request({
    url: '/supplementaryDeclaration/list',
    method: 'get',
    params: query
  })
}
// 新增增补申报
export function addSupplementaryDeclaration(data) {
  return request({
    url: "/supplementaryDeclaration",
    method: "post",
    data: data,
  });
}
// 修改增补申报
export function updateSupplementaryDeclaration(data) {
  return request({
    url: "/supplementaryDeclaration/edit/" + data.supplementaryId,
    method: "put",
    data: data,
  });
}
// 获取增补申报
export function getSupplementaryDeclaration(supplementaryId) {
  return request({
    url: "/supplementaryDeclaration/" + supplementaryId,
    method: "get",
  });
}
